module.exports = {
    base: '/mybooks/',
    title: '拾光分享网',
    //description: '带你上王者',
    dest: './dist',
    port: '8080',
    head: [
        ['link', {rel: 'icon', href: '/img/favicon.ico'}]
    ],
    markdown: {
        lineNumbers: true
    },
    themeConfig: {
        // nav: [{
        //     text: '懵逼指南', link: '/guide/'
        // }],
        nav: require("./config/nav/index.js"),
        sidebar: {'/guide/':[
            {
                  title:'新手指南',
                  collapsable: true,
                  children:[
                    '/guide/notes/one',
                  ]
                },
                {
                  title:'拾光分享网',
                  collapsable: true,
                  children:[
                    '/guide/notes/two',
                  ]
                }
            ]
        },
        // 搜索设置
        search: true,
        sidebarDepth: 2,
        // 最后更新时间
        lastUpdated: true,
        lastUpdated: '上次更新', // string | b
        searchMaxSuggestoins: 10,
        serviceWorker: {
            updatePopup: {
                message: "有新的内容.",
                buttonText: '更新'
            }
        },
        editLinks: true,
        editLinkText: '在 GitHub 上编辑此页 ！',
        //  plugins: [
        //     require('./config/plugins/index.js')
        // ],
        plugins: require("./config/plugins/index.js"),
        markdown: {
            lineNumbers: true
        },
    }
}